package com.wangyadong.hobby.schedule.jobtask.tree.example1;

import com.wangyadong.hobby.schedule.jobtask.tree.Position;

import java.awt.*;

public interface BinaryTree<E> extends Tree<E> {

    Position<E> left(Position position) throws IllegalArgumentException;

    Position<E> right(Position position) throws IllegalArgumentException;

    Position<E> sibling(Position position) throws IllegalArgumentException;
}
